package com.ruoyi.service.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务详情对象 service_details
 * 
 * @author wsc
 * @date 2025-05-09
 */
public class ServiceDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String serviceName;

    /** 服务详情 */
    @Excel(name = "服务详情")
    private String serviceInfo;

    /** 服务编号 */
    @Excel(name = "服务编号")
    private String serviceNum;

    /** 服务创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date serviceCreateTime;

    /** 服务原价 */
    @Excel(name = "服务原价")
    private BigDecimal serviceOriginalPrice;

    /** 服务现价 */
    @Excel(name = "服务现价")
    private BigDecimal serviceCurrentPrice;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }

    public void setServiceInfo(String serviceInfo) 
    {
        this.serviceInfo = serviceInfo;
    }

    public String getServiceInfo() 
    {
        return serviceInfo;
    }

    public void setServiceNum(String serviceNum) 
    {
        this.serviceNum = serviceNum;
    }

    public String getServiceNum() 
    {
        return serviceNum;
    }

    public void setServiceCreateTime(Date serviceCreateTime) 
    {
        this.serviceCreateTime = serviceCreateTime;
    }

    public Date getServiceCreateTime() 
    {
        return serviceCreateTime;
    }

    public void setServiceOriginalPrice(BigDecimal serviceOriginalPrice) 
    {
        this.serviceOriginalPrice = serviceOriginalPrice;
    }

    public BigDecimal getServiceOriginalPrice() 
    {
        return serviceOriginalPrice;
    }

    public void setServiceCurrentPrice(BigDecimal serviceCurrentPrice) 
    {
        this.serviceCurrentPrice = serviceCurrentPrice;
    }

    public BigDecimal getServiceCurrentPrice() 
    {
        return serviceCurrentPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceName", getServiceName())
            .append("serviceInfo", getServiceInfo())
            .append("serviceNum", getServiceNum())
            .append("serviceCreateTime", getServiceCreateTime())
            .append("serviceOriginalPrice", getServiceOriginalPrice())
            .append("serviceCurrentPrice", getServiceCurrentPrice())
            .toString();
    }
}
